package com.jzy.gulimall.seckill.constant;

/**
 * @author jzy
 * @date 2020/9/23 20:05
 */
public class SeckillConstant {

    public static final String SESSION_CACHE_PREFIX = "seckill:session:";   //秒杀场次

    public static final String SKU_CACHE_PREFIX = "seckill:sku";    //秒杀商品

    public static final String SKU_STOCK_SEMAPHORE = "seckill:stock:"; //加上商品随机码

    public static final String SECKILL_UPLOAD_LOCK = "seckill:upload:lock"; //定时任务分布式锁


    public static final String ORDER_EVENT_EXCHANGE = "order-event-exchange";

    public static final String SECKILL_CREAT_ROUTING_KEY = "seckill.create.order";

}
